package com.dangz.dans.dao;

import com.dangz.dans.model.wx.Setting;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
 * SettingRepository 配置类
 * @author dangz
 * @since 2018/2/2 11:19
 */
@Repository
public interface SettingRepository extends JpaRepository<Setting, String>,
        JpaSpecificationExecutor<Setting> {
    Setting findByOriginalCode(String code);
}
